<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head>
  <meta charset="utf-8">
  <title>我的消息</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="keywords" content="fly,layui,前端社区">
  <meta name="description" content="Fly社区是模块化前端UI框架Layui的官网社区，致力于为web开发提供强劲动力">
  <link rel="stylesheet" href="/res/layui/css/layui.css">
  <link rel="stylesheet" href="/res/css/global.css">
</head>
<body>
<!--头部-->
<div th:replace="~{layout/head_layout :: head_layout}"></div>

<div class="layui-container fly-marginTop fly-user-main">
  <!--菜单布局-->
  <div th:replace="~{layout/user_menu_layout :: user_menu_layout}"></div>

  <div class="fly-panel fly-panel-user" pad20>
    <div id="LAY_minemsg" style="margin-top: 10px;">
      <div class="fly-none">您暂时没有最新消息</div>
    </div>
  </div>
</div>

<div class="fly-footer">
  <p><a href="http://fly.layui.com/" target="_blank">Fly社区</a> 2017 &copy; <a
      href="http://www.layui.com/" target="_blank">layui.com 出品</a></p>
  <p>
    <a href="http://fly.layui.com/jie/3147/" target="_blank">付费计划</a>
    <a href="http://www.layui.com/template/fly/" target="_blank">获取Fly社区模版</a>
    <a href="http://fly.layui.com/jie/2461/" target="_blank">微信公众号</a>
  </p>
</div>

<script src="/res/layui/layui.js"></script>
<script>
  //注意：选项卡 依赖 element 模块，否则无法进行功能性操作
  layui.use(['element', 'form'], function () {
    var element = layui.element;
    var form = layui.form;

    //监听提交
    form.on('submit(baseUpdate)', function (data) {
      layer.msg(JSON.stringify(data.field));
      return false;
    });
    form.on('submit(updatePassword)', function (data) {
      layer.msg(JSON.stringify(data.field));
      return false;
    });
  });
</script>

</body>
</html>
